.print-order {
  height: calc(100% - 20px);
  padding: 20px;
  padding-top: 0;
}

.print-order .sort-caret {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 100%;
}

.print-order .sort-index {
  position: absolute;
  font-size: 12px;
  font-weight: normal;
  top: 0;
  right: 0;
  color: #ff0000;
}

.print-order .print-order-div {
  height: calc(100% - 40px);
  overflow: auto;
}

.print-order .print-order-content table tr td,
.print-order .print-order-content table tr th {
  position: relative;
}

.print-order .print-order-content .print-order-detail-table .add-row {
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
  color: #409EFF;
  display: none;
  cursor: pointer;
}

.print-order .sort-caret>i {
  position: absolute;
  cursor: pointer;
  width: 0;
  height: 0;
  left: 7px;
  border: 5px solid transparent;
}

.print-order .sort-caret>i.ascending {
  top: calc(50% - 12px);
  border-bottom-color: #c0c4cc;
}

.print-order .sort-caret>i.descending {
  bottom: calc(50% - 12px);
  border-top-color: #c0c4cc;
}

.print-order .sort-caret.ascending>i.ascending {
  border-bottom-color: #ff0000;
}

.print-order .sort-caret.descending>i.descending {
  border-top-color: #ff0000;
}

.print-order .print-order-content .print-order-detail-table tr .deleteBtn {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translate(0, -50%);
  color: red;
  display: none;
  cursor: pointer;
}

.print-order .print-order-content .print-order-detail-table tr:hover .deleteBtn {
  display: block;
}

.print-order .print-order-content .print-order-detail-table tr:hover .add-row {
  display: block;
}

#app .print-order-content {
  display: inline-block;
  font-size: 14px;
}

#app .print-order-content .order-title {
  text-align: center;
}

#app .print-order-content .order-header {
  margin-top: 10px;
  text-align: center;
  position: relative;
  border-bottom: 2px solid #000000;
  min-height: 26px;
}

#app .print-order-content .order-header .urgent {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
}

#app .print-order-content .order-header .urgent>div {
  height: 100%;
  float: left;
  font-size: 14px;
  line-height: 25px;
}

#app .print-order-content .order-header .urgent>div.urgent-checkbox {
  border: 1px solid #000000;
  width: 13px;
  height: 13px;
  margin-top: 6px;
  line-height: 15px;
}

#app .print-order-content .print-order-detail {
  margin-top: 15px;
}

#app .print-order-content table {
  border-collapse: collapse;
  border: none;
}

#app .print-order-content table tr {
  height: 35px;
}

#app .print-order-content table tr td {
  border: 1px solid #000000;
  text-align: center;
}

#app .print-order-content table tr th {
  border: 1px solid #000000;
  background: #98CCFF;
  text-align: center;
}

#app .print-order-content .order-info-table {
  margin-left: calc(28% - 162px);
  width: 580px;
}

#app .print-order-content .order-info-table tr th {
  text-align: right;
  padding-right: 5px;
}

#app .print-order-content .print-order-detail-table {
  border: 1px solid #000000;
  width: 100%;
}

#app .print-order-content .print-order-detail-table tr td {
  padding: 0 3px;
}

#app .order-date-picker input {
  text-align: center;
}

#app .curstomer-select input {
  text-align: center;
}

#app .print-order-content .print-order-detail-table .order-image {
  text-align: center;
  padding: 10px;
}

#app .print-order-content .print-order-detail-table .order-image>img {
  max-width: 100%;
  max-height: 300px;
}

#app .print-order-content .input-label>div {
  float: left;
}

#app .print-order-content .input-label>div:first-child {
  width: 3em;
  min-height: 0;
}

#app .print-order-content .input-label>div:nth-child(2) {
  width: calc(100% - 4em);
}

#app .print-order-content .input-date>* {
  float: left;
  min-height: 0;
  line-height: 1.3;
}

#app .print-order-content .input-date>input {
  height: 100%;
  border: 1px solid transparent;
}

#app .print-order-content .floor-input textarea {
  padding: 0;
  min-height: 0;
  line-height: 1.3;
}

#app .print-order-content .orderTextarea textarea {
  background: none;
}

#app .print-order-content .page-floor {
  margin-top: 15px;
  text-align: left;
  line-height: 1.3;
}

.clearfix:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0;
}

.clearfix {
  zoom: 1;
}

@media print {
  html {
    height: auto !important;
    overflow: visible !important;
  }

  body {
    height: auto !important;
    overflow: visible !important;
  }

  body>div {
    display: none !important;
  }

  #app {
    height: auto !important;
    overflow: visible !important;
    display: block !important;
  }

  #app>* {
    height: 0 !important;
    display: none !important;
  }

  #app .print-area {
    overflow: visible !important;
    display: block !important;
    page-break-before: always;
  }

  #app .print-area .print-order-content {
    height: 0;
    min-height: 0 !important;
    overflow: visible !important;
  }
}
